package com.shop.cloud.domain.system;

import java.sql.Timestamp;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * sys_position-sys_position
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SysPosition extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 角色类型名称
	 */
	@ApiModelProperty(value = "角色类型id")
	 private Long roleId;
	/**
	 * 角色职位名称
	 */
	@ApiModelProperty(value = "角色职位名称")
	 private String name;
	/**
	 * 角色职位描述
	 */
	@ApiModelProperty(value = "角色职位描述")
	 private String remark;
	/**
	 * 记录生成人
	 */
	@ApiModelProperty(value = "记录生成人")
	 private Long createUser;
	/**
	 * 记录生成时间
	 */
	@ApiModelProperty(value = "记录生成时间")
	private Timestamp createDate;
	/**
	 * 最后更新人
	 */
	@ApiModelProperty(value = "最后更新人")
	 private Long updateUser;
	/**
	 * 最后更新时间
	 */
	@ApiModelProperty(value = "最后更新时间")
	private Timestamp updateDate;
	
	/**
	 * 后台权限。1可查看和编辑本店和下属店面的内容，2仅可查看编辑本店的内容
	 */
	@ApiModelProperty(value = "后台权限。1可查看和编辑本店和下属店面的内容，2仅可查看编辑本店的内容")
	 private Integer authority;
	
	private String eqname;
    
    public String getEqname() {
		return eqname;
	}

	public void setEqname(String eqname) {
		this.eqname = eqname;
	}

	public SysPosition(){
    
    }
    
    public Integer getAuthority() {
		return authority;
	}

	public void setAuthority(Integer authority) {
		this.authority = authority;
	}

	public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Long getCreateUser() {
        return this.createUser;
    }
    
    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }
    public Timestamp getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }
    public Long getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }
    public Timestamp getUpdateDate() {
        return this.updateDate;
    }
    
    public void setUpdateDate(Timestamp updateDate) {
        this.updateDate = updateDate;
    }

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

}